<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>OBBoxDelegate Protocol Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">OBMessenger </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">On-Bright</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/box:deviceConnected:">- box:deviceConnected:</option>
		
		<option value="//api/name/box:deviceDidDisconected:">- box:deviceDidDisconected:</option>
		
		<option value="//api/name/box:deviceNotConnect:">- box:deviceNotConnect:</option>
		
		<option value="//api/name/box:deviceReadTimeout:">- box:deviceReadTimeout:</option>
		
		<option value="//api/name/box:modifyCtlPW:">- box:modifyCtlPW:</option>
		
		<option value="//api/name/box:receiveActivated:">- box:receiveActivated:</option>
		
		<option value="//api/name/box:receiveAuthorCode:">- box:receiveAuthorCode:</option>
		
		<option value="//api/name/box:receiveConnectToRouterRespon:">- box:receiveConnectToRouterRespon:</option>
		
		<option value="//api/name/box:receiveConnectedServer:">- box:receiveConnectedServer:</option>
		
		<option value="//api/name/box:receiveError:">- box:receiveError:</option>
		
		<option value="//api/name/box:receiveGetNodeRespon:isFinish:withNodeType:">- box:receiveGetNodeRespon:isFinish:withNodeType:</option>
		
		<option value="//api/name/box:receiveGetNodeState:andHexState:">- box:receiveGetNodeState:andHexState:</option>
		
		<option value="//api/name/box:receiveGetSceneFinish:withInfoType:">- box:receiveGetSceneFinish:withInfoType:</option>
		
		<option value="//api/name/box:receiveLockAppCtl:">- box:receiveLockAppCtl:</option>
		
		<option value="//api/name/box:receiveName:">- box:receiveName:</option>
		
		<option value="//api/name/box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:">- box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:</option>
		
		<option value="//api/name/box:receiveReleaseAllNodesRespon:">- box:receiveReleaseAllNodesRespon:</option>
		
		<option value="//api/name/box:receiveResetRespon:withResetKind:">- box:receiveResetRespon:withResetKind:</option>
		
		<option value="//api/name/box:receiveSceneActionAddr:withNodeAddr:withAction:">- box:receiveSceneActionAddr:withNodeAddr:withAction:</option>
		
		<option value="//api/name/box:receiveSceneAddr:isEnable:withName:ifUnitTag:">- box:receiveSceneAddr:isEnable:withName:ifUnitTag:</option>
		
		<option value="//api/name/box:receiveSceneConditionsAddr:withIndex:withConArray:">- box:receiveSceneConditionsAddr:withIndex:withConArray:</option>
		
		<option value="//api/name/box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:">- box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:</option>
		
		<option value="//api/name/box:receiveSetAPPWRespon:">- box:receiveSetAPPWRespon:</option>
		
		<option value="//api/name/box:receiveSetControlPWRespon:withPW:">- box:receiveSetControlPWRespon:withPW:</option>
		
		<option value="//api/name/box:receiveSetGroupChildRespon:withNodeAddr:inGroup:">- box:receiveSetGroupChildRespon:withNodeAddr:inGroup:</option>
		
		<option value="//api/name/box:receiveSetNameRespon:withNewName:">- box:receiveSetNameRespon:withNewName:</option>
		
		<option value="//api/name/box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:">- box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:</option>
		
		<option value="//api/name/box:receiveSetNodeStateRespon:withAddr:andHexState:">- box:receiveSetNodeStateRespon:withAddr:andHexState:</option>
		
		<option value="//api/name/box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:">- box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:</option>
		
		<option value="//api/name/box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:">- box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:</option>
		
		<option value="//api/name/box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:">- box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:</option>
		
		<option value="//api/name/box:receiveSetServerRespon:withOperation:">- box:receiveSetServerRespon:withOperation:</option>
		
		<option value="//api/name/box:receiveSetTimeRespon:">- box:receiveSetTimeRespon:</option>
		
		<option value="//api/name/box:receiveSwitchToApRespon:">- box:receiveSwitchToApRespon:</option>
		
		<option value="//api/name/box:receiveTime:">- box:receiveTime:</option>
		
		<option value="//api/name/box:receiveTimeStamp:">- box:receiveTimeStamp:</option>
		
		<option value="//api/name/box:receiveVersion:version:serialID:ifNodeID:">- box:receiveVersion:version:serialID:ifNodeID:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">OBBoxDelegate Protocol Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Conforms to</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>OBBox.h</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>Box callback protocol</p>

<p>By default, report to manager
Support manager delegate forwarder</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						<a title="Socket Callback" name="task_Socket Callback"></a>
						<h2 class="task-title">Socket Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:deviceConnected:" title="box:deviceConnected:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:deviceConnected:">&ndash;&nbsp;box:deviceConnected:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Socket callback for socket initial and successful connect to OBox.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> deviceConnected:(nonnull NSString *)<em>ip</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ip</code></th>
						<td><p>Lan IP of connected OBox</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/connectToDevice:">[OBBox connectToDevice:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:deviceNotConnect:" title="box:deviceNotConnect:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:deviceNotConnect:">&ndash;&nbsp;box:deviceNotConnect:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Socket callback for socket fail connect to obox. (Timeout or Passive disconnected)</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> deviceNotConnect:(nonnull NSString *)<em>ip</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p><a href="../Classes/OBBox.html">OBBox</a> object that lost connection</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ip</code></th>
						<td><p>Lan IP that socket connected to</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:deviceDidDisconected:" title="box:deviceDidDisconected:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:deviceDidDisconected:">&ndash;&nbsp;box:deviceDidDisconected:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Socket callback for client drop the connection with OBox.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> deviceDidDisconected:(nonnull NSString *)<em>ip</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p><a href="../Classes/OBBox.html">OBBox</a> object to be disconnected</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ip</code></th>
						<td><p>connected ip</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/deviceDisconnect">[OBBox deviceDisconnect]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:deviceReadTimeout:" title="box:deviceReadTimeout:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:deviceReadTimeout:">&ndash;&nbsp;box:deviceReadTimeout:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Socket callback for socket wait OBox&rsquo;s response timeout.
Will auto resend data until reach LOSTPACKETMAX</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> deviceReadTimeout:(nonnull NSString *)<em>ip</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded timeout <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ip</code></th>
						<td><p>connected ip</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="OBox Receiving Callback" name="task_OBox Receiving Callback"></a>
						<h2 class="task-title">OBox Receiving Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:receiveName:" title="box:receiveName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveName:">&ndash;&nbsp;box:receiveName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving name.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveName:(nonnull NSString *)<em>name</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>OBox name string (utf8 formated)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveActivated:" title="box:receiveActivated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveActivated:">&ndash;&nbsp;box:receiveActivated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving state flag <code>isActivate</code>.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveActivated:(BOOL)<em>isActivated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isActivated</code></th>
						<td><p>Activate state flag</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveConnectedServer:" title="box:receiveConnectedServer:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveConnectedServer:">&ndash;&nbsp;box:receiveConnectedServer:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving state flag <code>isConnectServer</code>.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveConnectedServer:(BOOL)<em>isConnected</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isConnected</code></th>
						<td><p>Server Connecte state flag</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveLockAppCtl:" title="box:receiveLockAppCtl:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveLockAppCtl:">&ndash;&nbsp;box:receiveLockAppCtl:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving state flag <code>isLockAppSet</code>.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveLockAppCtl:(BOOL)<em>isLocked</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isLocked</code></th>
						<td><p>Whether refuse app control or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveTimeStamp:" title="box:receiveTimeStamp:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveTimeStamp:">&ndash;&nbsp;box:receiveTimeStamp:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving last data modified timeStamp.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveTimeStamp:(nonnull NSDate *)<em>timeStamp</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeStamp</code></th>
						<td><p>NSDate object of timeStamp</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveAuthorCode:" title="box:receiveAuthorCode:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveAuthorCode:">&ndash;&nbsp;box:receiveAuthorCode:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving auth code for enterprise.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveAuthorCode:(nonnull NSString *)<em>aCode</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>aCode</code></th>
						<td><p>4 hexString of the auth code (default ffff)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxName">[OBBox getOboxName]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveVersion:version:serialID:ifNodeID:" title="box:receiveVersion:version:serialID:ifNodeID:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveVersion:version:serialID:ifNodeID:">&ndash;&nbsp;box:receiveVersion:version:serialID:ifNodeID:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving box or node infos (serial and version string).</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveVersion:(OB_VersionType)<em>type</em> version:(nullable NSString *)<em>v</em> serialID:(nullable NSString *)<em>serial</em> ifNodeID:(nullable NSString *)<em>name</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>type</code></th>
						<td><p>OB_VersionType enum: OB_V_OBOX or OB_V_NODE</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>v</code></th>
						<td><p>version, 8Bytes hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>serial</code></th>
						<td><p>serial string</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>node name if type is OB_V_NODE, nil for OB_V_OBOX</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getOboxSerial">[OBBox getOboxSerial]</a> or <a href="../Classes/OBBox.html#//api/name/getNodeVersion:">[OBBox getNodeVersion:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveTime:" title="box:receiveTime:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveTime:">&ndash;&nbsp;box:receiveTime:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving internal clock time</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveTime:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>NSDate object of current time[GMT]</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/syncOboxTime">[OBBox syncOboxTime]</a> or <a href="../Classes/OBBox.html#//api/name/getOboxTime">[OBBox getOboxTime]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="OBox Setting Callback" name="task_OBox Setting Callback"></a>
						<h2 class="task-title">OBox Setting Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:modifyCtlPW:" title="box:modifyCtlPW:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:modifyCtlPW:">&ndash;&nbsp;box:modifyCtlPW:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for user setting control password to access.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> modifyCtlPW:(nullable NSString *)<em>encodedPwStr</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p><a href="../Classes/OBBox.html">OBBox</a> object that set password to access</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>encodedPwStr</code></th>
						<td><p>encoded password string, nil means default.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setCtlPw:">[OBBox setCtlPw:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetNameRespon:withNewName:" title="box:receiveSetNameRespon:withNewName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetNameRespon:withNewName:">&ndash;&nbsp;box:receiveSetNameRespon:withNewName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about changing name.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetNameRespon:(BOOL)<em>isSuccess</em> withNewName:(nullable NSString *)<em>name</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>New name string</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setOBOXName:">[OBBox setOBOXName:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetControlPWRespon:withPW:" title="box:receiveSetControlPWRespon:withPW:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetControlPWRespon:withPW:">&ndash;&nbsp;box:receiveSetControlPWRespon:withPW:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about changing access password.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetControlPWRespon:(BOOL)<em>isSuccess</em> withPW:(nullable NSString *)<em>currentPW</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>currentPW</code></th>
						<td><p>current obox access password</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setControlPW:withOldPW:">[OBBox setControlPW:withOldPW:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveResetRespon:withResetKind:" title="box:receiveResetRespon:withResetKind:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveResetRespon:withResetKind:">&ndash;&nbsp;box:receiveResetRespon:withResetKind:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for resetting response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveResetRespon:(BOOL)<em>isSuccess</em> withResetKind:(RESETCMD)<em>kind</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>reset obox success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>kind</code></th>
						<td><p>reset command kind</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/resetWithKind:">[OBBox resetWithKind:]</a> or <a href="../Classes/OBBox.html#//api/name/releaseAllNodes">[OBBox releaseAllNodes]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSwitchToApRespon:" title="box:receiveSwitchToApRespon:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSwitchToApRespon:">&ndash;&nbsp;box:receiveSwitchToApRespon:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about switching to AccessPoint mode.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSwitchToApRespon:(BOOL)<em>isSuccess</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/connectToRouter:inSSID:withPw:">[OBBox connectToRouter:inSSID:withPw:]</a> with <code>NO</code> enableClient</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveConnectToRouterRespon:" title="box:receiveConnectToRouterRespon:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveConnectToRouterRespon:">&ndash;&nbsp;box:receiveConnectToRouterRespon:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about connecting to router.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveConnectToRouterRespon:(BOOL)<em>isSuccess</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/connectToRouter:inSSID:withPw:">[OBBox connectToRouter:inSSID:withPw:]</a> or <a href="../Classes/OBBox.html#//api/name/setOBOXtoServer:withConnectRouter:andPw:ifAuthorized:">[OBBox setOBOXtoServer:withConnectRouter:andPw:ifAuthorized:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetAPPWRespon:" title="box:receiveSetAPPWRespon:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetAPPWRespon:">&ndash;&nbsp;box:receiveSetAPPWRespon:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about modify AccessPoint password.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetAPPWRespon:(BOOL)<em>isSuccess</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setOBOXAPPW:">[OBBox setOBOXAPPW:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetServerRespon:withOperation:" title="box:receiveSetServerRespon:withOperation:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetServerRespon:withOperation:">&ndash;&nbsp;box:receiveSetServerRespon:withOperation:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting response about connecting to server.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetServerRespon:(BOOL)<em>isSuccess</em> withOperation:(BOOL)<em>isOpen</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isOpen</code></th>
						<td><p>Enable/Disable connecting to server</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setOBOXtoServer:">[OBBox setOBOXtoServer:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetTimeRespon:" title="box:receiveSetTimeRespon:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetTimeRespon:">&ndash;&nbsp;box:receiveSetTimeRespon:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for setting internal clock time response</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetTimeRespon:(BOOL)<em>isSuccess</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set up success or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setOboxTime:withZone:">[OBBox setOboxTime:withZone:]</a> or <a href="../Classes/OBBox.html#//api/name/syncOboxTime">[OBBox syncOboxTime]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="OBox Error Callback" name="task_OBox Error Callback"></a>
						<h2 class="task-title">OBox Error Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:receiveError:" title="box:receiveError:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveError:">&ndash;&nbsp;box:receiveError:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Callback for occurring error</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveError:(nonnull NSError *)<em>error</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p><a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>error</code></th>
						<td><p>NSError object</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p><a href="../Classes/OBBox.html">OBBox</a> Error object:</p>

<ul>
<li>Domain: OBBoxErrorDomain</li>
<li>Code: <a href="../Constants/OBBoxError.html">OBBoxError</a></li>
<li>UserInfo: Dictionary contains description string of key <code>err</code></li>
</ul>

			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Constants/OBBoxError.html">OBBoxError</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="Node/Group Callback" name="task_Node/Group Callback"></a>
						<h2 class="task-title">Node/Group Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:" title="box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:">&ndash;&nbsp;box:receiveNodeInfo:andAddress:withNodeType:ifDeviceType:ifChildType:andInfos:andData:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving (stored / new search) node or group info.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveNodeInfo:(nonnull NSString *)<em>nodeID</em> andAddress:(nullable NSString *)<em>addr</em> withNodeType:(NODETYPE)<em>ntype</em> ifDeviceType:(DEVICETYPE)<em>dtype</em> ifChildType:(int)<em>kind</em> andInfos:(nullable NSDictionary *)<em>nodeInfos</em> andData:(nullable NSData *)<em>data</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeID</code></th>
						<td><p>Node name or Group name</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>addr</code></th>
						<td><p>Node address (2 Bytes hex-string)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ntype</code></th>
						<td><p><a href="../Constants/NODETYPE.html">NODETYPE</a> (node/group)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>dtype</code></th>
						<td><p><a href="../Constants/DEVICETYPE.html">DEVICETYPE</a> (Device(s) type, GROUP: -1 no means)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>kind</code></th>
						<td><p>Device(s) special sub type (-1 no means)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeInfos</code></th>
						<td><p>Info dictionary: Key: @nodeSerial, @nodeVersion, @nodeOnline and @SceneLeftover or @groupIndex for group</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>data</code></th>
						<td><p>Node device data if have</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getNodesByType:">[OBBox getNodesByType:]</a> and <a href="../Classes/OBBox.html#//api/name/searchNewNode:">[OBBox searchNewNode:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:" title="box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:">&ndash;&nbsp;box:receiveSearchNewNodeRespon:enableSearch:withScanTimeout:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for state of start, finish or cancle searching nodes.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSearchNewNodeRespon:(BOOL)<em>isSuccess</em> enableSearch:(BOOL)<em>isSearch</em> withScanTimeout:(NSUInteger)<em>timeout</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>start or cancle searching node success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSearch</code></th>
						<td><p>bool flag of start or cancle searching</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>timeout</code></th>
						<td><p>searching timeout (0 means can&rsquo;t search more nodes)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/searchNewNode:">[OBBox searchNewNode:]</a> or <a href="../Classes/OBBox.html#//api/name/searchNewNode:fromIndex:withTimeout:">[OBBox searchNewNode:fromIndex:withTimeout:]</a>
Should call <code>-searchNewNode:NO</code> to cancle after finish searching timeout</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveGetNodeRespon:isFinish:withNodeType:" title="box:receiveGetNodeRespon:isFinish:withNodeType:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveGetNodeRespon:isFinish:withNodeType:">&ndash;&nbsp;box:receiveGetNodeRespon:isFinish:withNodeType:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving flag of node/group infos load finish.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveGetNodeRespon:(BOOL)<em>isSuccess</em> isFinish:(BOOL)<em>isFinish</em> withNodeType:(NODETYPE)<em>ntype</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>get whole infos success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isFinish</code></th>
						<td><p>info download finish or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>ntype</code></th>
						<td><p><a href="../Constants/NODETYPE.html">NODETYPE</a> (node/group)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getNodesByType:">[OBBox getNodesByType:]</a> that finish receiving infos</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveReleaseAllNodesRespon:" title="box:receiveReleaseAllNodesRespon:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveReleaseAllNodesRespon:">&ndash;&nbsp;box:receiveReleaseAllNodesRespon:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving released response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveReleaseAllNodesRespon:(BOOL)<em>isSuccess</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>release all node and delete other infos success or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/releaseAllNodes">[OBBox releaseAllNodes]</a> or [OBBox resetWithKind] using RELEASE and also <a href="#//api/name/box:receiveResetRespon:withResetKind:">- box:receiveResetRespon:withResetKind:</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:" title="box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:">&ndash;&nbsp;box:receiveSetNodeRespon:withAddr:ifGroup:ifDelete:ifName:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for node info modified.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetNodeRespon:(BOOL)<em>isSuccess</em> withAddr:(nullable NSString *)<em>addr</em> ifGroup:(BOOL)<em>isGroup</em> ifDelete:(BOOL)<em>isDelete</em> ifName:(nullable NSString *)<em>nodeID</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Modify node / group info success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>addr</code></th>
						<td><p>nodeAddr or groupAddr (2 Bytes hexString)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isGroup</code></th>
						<td><p>bool flag that whether is group or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isDelete</code></th>
						<td><p>bool flag that whether to delete target or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeID</code></th>
						<td><p>new group name or new name for node / group, nil when deleted</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>To:</p>

<ul>
<li>Create Group, receiving group addr</li>
<li>Rename Node / Group</li>
<li>Delete Node / Group</li>
</ul>

			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setNode:forNewName:">[OBBox setNode:forNewName:]</a>, <a href="../Classes/OBBox.html#//api/name/releaseNode:">[OBBox releaseNode:]</a> and <a href="../Classes/OBBox.html#//api/name/setGroup:forName:">[OBBox setGroup:forName:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetGroupChildRespon:withNodeAddr:inGroup:" title="box:receiveSetGroupChildRespon:withNodeAddr:inGroup:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetGroupChildRespon:withNodeAddr:inGroup:">&ndash;&nbsp;box:receiveSetGroupChildRespon:withNodeAddr:inGroup:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving insering / removing node into / out of a group as member response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetGroupChildRespon:(BOOL)<em>isSuccess</em> withNodeAddr:(nonnull NSString *)<em>nodeAddr</em> inGroup:(nullable NSString *)<em>groupAddr</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Modify node and group success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeAddr</code></th>
						<td><p>single node addr</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>groupAddr</code></th>
						<td><p>group addr which added to, or 00 to removed out</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setGroupChild:forNode:">[OBBox setGroupChild:forNode:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetNodeStateRespon:withAddr:andHexState:" title="box:receiveSetNodeStateRespon:withAddr:andHexState:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetNodeStateRespon:withAddr:andHexState:">&ndash;&nbsp;box:receiveSetNodeStateRespon:withAddr:andHexState:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving setting node or group state response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetNodeStateRespon:(BOOL)<em>isSuccess</em> withAddr:(nullable NSString *)<em>addr</em> andHexState:(nullable NSString *)<em>hexState</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>Set node and group state success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>addr</code></th>
						<td><p>Full address (7Bytes hexString) of node or group  (obox_serial+groupAddr_nodeAddr)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>hexState</code></th>
						<td><p>target state (8 bytes hex-string)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setNodeState:withHexState:ifGroup:">[OBBox setNodeState:withHexState:ifGroup:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveGetNodeState:andHexState:" title="box:receiveGetNodeState:andHexState:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveGetNodeState:andHexState:">&ndash;&nbsp;box:receiveGetNodeState:andHexState:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving node or group current state.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveGetNodeState:(nullable NSString *)<em>addr</em> andHexState:(nullable NSString *)<em>hexState</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>addr</code></th>
						<td><p>Full address (7Bytes hexString) of node or group  (obox_serial+groupAddr_nodeAddr)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>hexState</code></th>
						<td><p>target current state (8 bytes hex-string)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/getNodeState:ifGroup:">[OBBox getNodeState:ifGroup:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="Scene Callback" name="task_Scene Callback"></a>
						<h2 class="task-title">Scene Callback</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/box:receiveSceneAddr:isEnable:withName:ifUnitTag:" title="box:receiveSceneAddr:isEnable:withName:ifUnitTag:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSceneAddr:isEnable:withName:ifUnitTag:">&ndash;&nbsp;box:receiveSceneAddr:isEnable:withName:ifUnitTag:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving scene info.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSceneAddr:(nullable NSString *)<em>sceneAddr</em> isEnable:(BOOL)<em>isEnable</em> withName:(nullable NSString *)<em>sceneID</em> ifUnitTag:(nullable NSString *)<em>unitTag</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isEnable</code></th>
						<td><p>scene is enabled or disabled</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneID</code></th>
						<td><p>scene name</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>unitTag</code></th>
						<td><p>Tag for linking scene as list if have (1Byte preview scene addr)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSceneConditionsAddr:withIndex:withConArray:" title="box:receiveSceneConditionsAddr:withIndex:withConArray:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSceneConditionsAddr:withIndex:withConArray:">&ndash;&nbsp;box:receiveSceneConditionsAddr:withIndex:withConArray:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving target scene&rsquo;s condition infos.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSceneConditionsAddr:(nonnull NSString *)<em>sceneAddr</em> withIndex:(NSUInteger)<em>sceneGroupIndex</em> withConArray:(nonnull NSArray *)<em>conArr</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneGroupIndex</code></th>
						<td><p>Index of condition info at conditons array (1,2,3)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>conArr</code></th>
						<td><p>scene condition info array, contains max 3 child array, [@(conditionType), condDeviceAddr, conditionHexString]</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Scene conditions:</p>

<ol>
<li>Every scene can contain max 3 parallel condition group. (Index of scene group)</li>
<li>Each parallel condition group can independently trigger the scene</li>
<li>Each condition group contain max 3 dependent condition (child array of conArr)</li>
<li>condition info array contaion: @(type), dependent node address, condtion detail string.</li>
</ol>

			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSceneActionAddr:withNodeAddr:withAction:" title="box:receiveSceneActionAddr:withNodeAddr:withAction:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSceneActionAddr:withNodeAddr:withAction:">&ndash;&nbsp;box:receiveSceneActionAddr:withNodeAddr:withAction:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving target scene&rsquo;s action infos.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSceneActionAddr:(nonnull NSString *)<em>sceneAddr</em> withNodeAddr:(nonnull NSString *)<em>nodeAddr</em> withAction:(nonnull NSString *)<em>hexState</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeAddr</code></th>
						<td><p>target node (group) full address</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>hexState</code></th>
						<td><p>target action hexString</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveGetSceneFinish:withInfoType:" title="box:receiveGetSceneFinish:withInfoType:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveGetSceneFinish:withInfoType:">&ndash;&nbsp;box:receiveGetSceneFinish:withInfoType:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving flag of specific type of scene infos load finish.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveGetSceneFinish:(nonnull NSString *)<em>sceneAddr</em> withInfoType:(OBSceneType)<em>infoType</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>infoType</code></th>
						<td><p><a href="../Constants/OBSceneType.html">OBSceneType</a> specific type of scene info</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:" title="box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:">&ndash;&nbsp;box:receiveSetSceneRespon:withAddr:withStatus:ifName:ifUnitTag:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving setting scene info response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetSceneRespon:(BOOL)<em>isSuccess</em> withAddr:(nonnull NSString *)<em>sceneAddr</em> withStatus:(uint)<em>status</em> ifName:(nullable NSString *)<em>sceneID</em> ifUnitTag:(nullable NSString *)<em>unitTag</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>setting scene success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>status</code></th>
						<td><p>target scene status: 0 - disable, 1 - enable, 2 - execute</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneID</code></th>
						<td><p>target scene name, nil means delete</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>unitTag</code></th>
						<td><p>Tag for linking target scene as list</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Create, Rename, Execute, Enabled/Disabled and Delete scene response.</p>
			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setScene:forName:ifUnitTag:forStatus:">[OBBox setScene:forName:ifUnitTag:forStatus:]</a> and <a href="../Classes/OBBox.html#//api/name/actionSceneNow:">[OBBox actionSceneNow:]</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:" title="box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:">&ndash;&nbsp;box:receiveSetSceneConditionsRespon:withAddr:withIndex:withConArray:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving setting scene condition info response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetSceneConditionsRespon:(BOOL)<em>isSuccess</em> withAddr:(nonnull NSString *)<em>sceneAddr</em> withIndex:(uint)<em>sceneGroupIndex</em> withConArray:(nonnull NSArray *)<em>conArr</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>setting scene conditions success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneGroupIndex</code></th>
						<td><p>Index of condition info at conditons array (1,2,3)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>conArr</code></th>
						<td><p>scene condition info array, contains max 3 child array, [@(conditionType), condDeviceAddr, conditionHexString]</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setSceneCondition:withInfoArray:">[OBBox setSceneCondition:withInfoArray:]</a> and - <a href="#//api/name/box:receiveSceneConditionsAddr:withIndex:withConArray:">- box:receiveSceneConditionsAddr:withIndex:withConArray:</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:" title="box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:"></a>
	<h3 class="method-title"><code><a href="#//api/name/box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:">&ndash;&nbsp;box:receiveSetSceneActionRespon:withAddr:withNodeAddr:withAction:ifDelete:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>OBox Callback for receiving setting scene actions response.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)box:(nonnull OBBox *)<em>box</em> receiveSetSceneActionRespon:(BOOL)<em>isSuccess</em> withAddr:(nonnull NSString *)<em>sceneAddr</em> withNodeAddr:(nullable NSString *)<em>nodeAddr</em> withAction:(nonnull NSString *)<em>hexState</em> ifDelete:(BOOL)<em>isDelete</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>box</code></th>
						<td><p>Responded <a href="../Classes/OBBox.html">OBBox</a> object</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isSuccess</code></th>
						<td><p>setting scene conditions success or not</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneAddr</code></th>
						<td><p>target scene address 2byte hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nodeAddr</code></th>
						<td><p>target node (group) full address</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>hexState</code></th>
						<td><p>target action hexString</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>isDelete</code></th>
						<td><p>bool flag whether to remove this action or not</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Classes/OBBox.html#//api/name/setSceneAction:forNodeAddr:ifGroup:withHexStatus:">[OBBox setSceneAction:forNodeAddr:ifGroup:withHexStatus:]</a> and - <a href="#//api/name/box:receiveSceneActionAddr:withNodeAddr:withAction:">- box:receiveSceneActionAddr:withNodeAddr:withAction:</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBBox.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 On-Bright. All rights reserved. Updated: 2017-06-09</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>